function name() {
	return "Push Stack";
}

function execute() {
	panda.render("test", function($){	
		var current = $("#a").pushStack([1,2], "func", "1,2"),
			prev = current.end();

		context.result = [
			current[0],
			current[1],
			current.selector,
			prev.length,
			prev.selector
		];
	});
}

function verify() {
	Assert.assertEquals(1, context.result[0], 0);
	Assert.assertEquals(2, context.result[1], 0);
	Assert.assertEquals("#a.func(1,2)", context.result[2]);
	Assert.assertEquals(1, context.result[3], 0);
	Assert.assertEquals("#a", context.result[4]);
}
